package com.tf_cut.backend.agent.pojo;

import java.math.BigDecimal;
import java.sql.Timestamp;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedStoredProcedureQueries;
import javax.persistence.NamedStoredProcedureQuery;
import javax.persistence.Table;

import lombok.Data;

@Entity
@Table(name = "agent_account_detail")
@Data
@NamedStoredProcedureQueries({ @NamedStoredProcedureQuery(name = "saveOperation", procedureName = "agent_account_detail_procedure") })  
public class AgentAccountDetail {
	@Id
	private String tradeId;
	private String agentAccountId;
	private String tradeSerial;
	private Integer operType;
	private Timestamp payTime;
	private String paySubject;		// @see TradeSubject
	private Integer payType;		// @see TradeSubject
	private BigDecimal tradeMoney;
	private String tradeComment;
	private String isTotal;
	private Timestamp totalTime;
}
